﻿using BMS.Entity.RBAC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BMS.IRepository
{
    public interface IPermissionRepository : IBaseRepository<PermissionInfo>
    {
        /// <summary>
        /// 获取上级ID
        /// </summary>
        /// <param name="pid">Pid</param>
        /// <returns></returns>
        public Task<List<PermissionInfo>> GetParentId(int pid);
    }
}
